package ShenBlueInc.Center;

import ShenBlueInc.Sql.User_inc;

public class User_Center {
	User_inc inc =new User_inc();
	/**
	 * 修改用户数据
	 * @param id
	 * @param name
	 * @param tel
	 * @param email
	 * @param fullname
	 * @return
	 */
	public boolean ModifyUser(String id,String name,String tel,String email,String fullname) {
		if(inc.ModifyUser(id, name, tel, email, fullname)<1) {
			return true;
		}
		return false;
	}
	/**
	 * 修改密码
	 * @param id
	 * @param newPwd
	 * @return
	 */
	public boolean ModifyPassWord(String id,String newPwd) {
		if(inc.ModifyPassWord(id, newPwd)<1) {
			return true;
		}
		return false;
	}
}
